﻿namespace UIOC {

    //[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
    //public sealed class NetListenerAttribute : Attribute {
    //}

    ///// <summary>
    ///// 服务映射
    ///// </summary>
    //[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    //public sealed class ServiceAttribute : Attribute {

    //    /// <summary>
    //    /// 构造函数
    //    /// </summary>
    //    /// <param name="name">服务名称</param>
    //    /// <param name="interfaceType">需要实现的接口</param>
    //    public ServiceAttribute(string name, Type interfaceType) : base(interfaceType) {
    //        Name = name;
    //    }

    //    /// <summary>
    //    /// 服务名称
    //    /// </summary>
    //    public string Name { get; }
    //}

}
